package mychat.vo;

import java.util.Date;

public interface Message {
	public final static int NORMAL = 0;
	public final static int SYS =1;
	public final static int LOGIN = 2;
	public final static int EXIT = 4;
	public final static int PRIVATE=5;
	
	public String getFrom();
	public Date getDate();
	public int getType();
	public int getId();
	public String getTo();
	public String getContent(); 
	public void setId(int id);
	public void setDate(java.sql.Timestamp date);

}
